<?php
require('config.php');
?>
<html>
<head>
<meta http-equiv="refresh" content="30">
<style type="text/css">
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	font-family: Geneva, Tahoma;
	color: #FFFFFF;
	font-size: 10pt;
}
</style>
</head>
<body>
<?php
require('twitter_refresher.php');

$tweet= simplexml_load_file("twitter_xml_generator.php");

echo '<img src="'.$tweet->status[0]->user->profile_image_url.'" alt="logo" width="20" height="20">&nbsp;';
echo $tweet->status[0]->text."<br />";
echo '<hr style="border: 1px dotted #FF0000;" />';

echo '<img src="'.$tweet->status[1]->user->profile_image_url.'" alt="logo" width="20" height="20">&nbsp;';
echo $tweet->status[1]->text."<br />";
echo '<hr style="border: 1px dotted #FF0000;" />';

echo '<img src="'.$tweet->status[2]->user->profile_image_url.'" alt="logo" width="20" height="20">&nbsp;';
echo $tweet->status[2]->text."<br />";
echo '<hr style="border: 1px dotted #FF0000;" />';

echo '<img src="'.$tweet->status[3]->user->profile_image_url.'" alt="logo" width="20" height="20">&nbsp;';
echo $tweet->status[3]->text."<br />";
echo '<hr style="border: 1px dotted #FF0000;" />';

echo '<img src="'.$tweet->status[4]->user->profile_image_url.'" alt="logo" width="20" height="20">&nbsp;';
echo $tweet->status[4]->text."<br />";
echo '<hr style="border: 1px dotted #FF0000;" />';

echo '<img src="'.$tweet->status[5]->user->profile_image_url.'" alt="logo" width="20" height="20">&nbsp;';
echo $tweet->status[5]->text."<br />";
echo '<hr style="border: 1px dotted #FF0000;" />';

echo '<img src="'.$tweet->status[6]->user->profile_image_url.'" alt="logo" width="20" height="20">&nbsp;';
echo $tweet->status[6]->text."<br />";
echo '<hr style="border: 1px dotted #FF0000;" />';

echo '<img src="'.$tweet->status[7]->user->profile_image_url.'" alt="logo" width="20" height="20">&nbsp;';
echo $tweet->status[7]->text."<br />";
echo '<hr style="border: 1px dotted #FF0000;" />';

echo '<img src="'.$tweet->status[8]->user->profile_image_url.'" alt="logo" width="20" height="20">&nbsp;';
echo $tweet->status[8]->text."<br />";
echo '<hr style="border: 1px dotted #FF0000;" />';

echo '<img src="'.$tweet->status[9]->user->profile_image_url.'" alt="logo" width="20" height="20">&nbsp;';
echo $tweet->status[9]->text."<br />";
echo '<hr style="border: 1px dotted #FF0000;" />';

echo '<img src="'.$tweet->status[10]->user->profile_image_url.'" alt="logo" width="20" height="20">&nbsp;';
echo $tweet->status[10]->text."<br />";
echo '<hr style="border: 1px dotted #FF0000;" />';

echo '<img src="'.$tweet->status[11]->user->profile_image_url.'" alt="logo" width="20" height="20">&nbsp;';
echo $tweet->status[11]->text."<br />";
echo '<hr style="border: 1px dotted #FF0000;" />';

echo '<img src="'.$tweet->status[12]->user->profile_image_url.'" alt="logo" width="20" height="20">&nbsp;';
echo $tweet->status[12]->text."<br />";
?>
</body>
</html>